﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Windows.Forms;
//new
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Threading;

namespace JKZP
{
    static class Program
    {

        
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            LoginForm loginform = new LoginForm();
            DialogResult dr = loginform.ShowDialog();
            if (DialogResult.OK == dr)
            {
                loginform.Close();
                Application.Run(new Form_Main());
            }
            loginform.Dispose();

        }

    }
}
